package hrms.dao.emp;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import hrms.pojo.Employee;

public interface empMapper {
Employee doLogin(Employee emp);

List<Employee> queryAllEmp(@Param(value="currentPageNo")int currentPageNo, @Param(value="pageSize")int pageSize);

Employee doCode(@Param("empCode")String empCode);

boolean insertEmp(Employee emp);
Employee queryCodeEmp(Employee emp);

Employee queryPassword(Employee emp);

int modifyEmp(Employee emp);

int deleteEmp(int empId);

List<Employee> queryAll();
}
